import React from "react";
import RouterView from "../../router/RouterView";
import Menu from './components/Menu'

import './index.css'

const App = (props: any) => {
    return (
        <div className="app">
            <div className="left-app">
                <p>管理员</p>
                <Menu />
            </div>
            <div className="right-app">
                <RouterView routes={props.routes} />
            </div>
        </div>
    )
};

export default App